consolidate builtin functions