expose restart function