my personal miscellaneous code