add string.h so memcpy will be declared