Adding determine state option to core.