Paste in code

Actual code now within repository