changed min length from 5 to 4