name functions

for better error messages