added stubs.c file