Reset flag added.