code change to start, restart and stop