main.c works