added include of string.h