added functionality for new game