added level control