created simple wrapper for C function defined in header file