link and catefory linkage done