Add index in options for output using number