adding some template stuff for UI