replaced IsActive property with field