Just random code I wrote or found around