update input restrictions
standardize whitespace (convert tabs to spaces)