added Startstate class