Code second phase UI