return more informative results for some functions