added level restarting