moved add.c