implemented stop|restart method