changed the hit function into a recieveScore