now only reads required dates in