implement play and stop function
add pause()