trying to make "from" const-correct; trying to get from_ref working