added level details to onclick