A bunch of code that I wrote before or I got from somewhere, just for backup.