2nd modification

Add play/pause functionality