Code

1.4.5 working, but need some more work: