ui implement phase2