refactored creating new game