working on read only for indexes and find