wrote simple.c