ScanState and LoadState syntax