Create Reference code

This is the code from one of last year's story for reference