just a dump of random code put here for backup