more work on reference.