added support for edge references