add ui to adjust phases