updated to apl2