added #define for max string len