adding common util functions
0.1.2