Optimized the play function