pct class now checks for empty