adding ui elements