New method of adding category, top category and range.