finish index and part of the categories