improved the pir chart