updated levelContoller