Corrected pi numbering error