added handler for phase active