added createIndex, delete, deleteBy