changed apg2 to apg throughout