ui.trace functions done