added lowercase standardization to input