set hr for UI