removed the char array overload function and auxiliary functions related to that. working copy