missed out adding string.h