add stop/0 function.