my homework for Game Modding class