changes for APL stuff