implement missing builtins