added level exit