add indices to speed up queries