misc code of my daily work life