added dual state type to state type accepting,start