added MinVisit option