just trying to get refs to work