preparing the player