Create events.c