add getReference functionality