add sig handler
complete play and stop