basic hacky index