started engine and state code