Fixed play function