aded all play function
modify for all play