updated toCamelCase function, removed charChop function, redundant