Updated for active logic uses reg open.