adding a pr-existing solution to my game