added indexes for db