updated index hw7
updated index to footreward