putCategory method