implement navigating through phases