rename functions with upper case names to lower case to avoid #define collisions (nw)