game now in own function