Reference and Scrap code