changed pl to plt everywhere