Adding an active flag