support for ref