Inititial version for state based model