First code dump. dirty but funny.