basic.c test working