Add index to stars