replace start function with restart function