messy dump of code scraps