start of some proper game code