adding few methods into category resource