minMonths setting added and working