First code dump.
Seems to work!