back-end driver/ride basic states
small code moving