Miscellaneous codes; some just for fun