splitted utilites to .h and .cpp