tidy up example fns (again)