implemented some transitions