add restarting
test