add category field to APS struct