Work on index and elements