more work on reference table