implemented level restart