some restart functionality