first phrase refractoring completed for UI