added wrapper.c