Fix function to play.