adding ui interactions