add play and stop func