added level transitions