increasing minimum input length to 3