Using index to extend the functionality of shove, haslist, deduct, same and intersection