trying to make sure refs work