player character is now global variable