check for APG