Added check for multiple instances of player