took out extra functions and added card to send back to player