preliminary support for refs assigments