Fixed array.length > 2 bug and made camelCase optional

camelCase should be optional and not forced for a general purpose application
Array over 2 did not work