add difficulty and indexing