make function calls work as advertised