category to smart table