changes made to be able to playAsync instead of playSync