added some gamelogic for testing purposes