added restart method