Added the AdvancedPlayer logic