Added index functionality
undo changes