Here's some miscellaneous source code...