added category and option code