level transitions added.