reverting back to Scala ref