main game flow is now working