added cross reference functionality