added indexes to model