functions that i use to help me with bash program development