added clang-wrapped functions