my personal misc code