working on reindex and exists
adding tests