Started working on UI for functions (the largest)