changed string.h to cstring