styes, UI functions