working in UI part