tweaked code game and rearranged some things