hooked into APScontrol