added indexes to category