added the only function which was emulated with a call to mangle