Added ui elements and dictionary