Sample code to test references