niftier indexing for variables