include stdlib.h for atoi