match the ad class with its interface
add category class