PLD: refactor status function call