refactor game model into private methods