typo
new logic to enforce string and array validations, tests