PLD: set active and inactive