adding elements to ui