dump of code from hack day