Yeah, I have to say this is my first ever experience of actually writing shapeless code :) Almost no animals were harmed in the process...