added earliest and latest month configuration