made maxLength of number of volunteers to be input to 3