fixing errors and adding to game