added level mode