Added if statement for player statistics