changed isActive, retreat to booleans