working cross-references
Merge pull request #19 from vzvenyach/xref

working cross-references