set player var to avoid calling this.player() 5 times in 5 consecutive lines