added maxLength