modified UI functions