2 useful procs already exist in acs-templating