AP-Lab codes