Utility code created for fun