added gameplay state class