added support for built-in functions