Added additional reference_code which might be useful for this project.