active flag added