updated for power filtering