implemented go to first reference feature