adding code at category