you can optionally pass in a third element in the data that represents the marker to be displayed