removed playerData and removed lots of commented out code