changed the template to pull in rank from data not index