removing dependency on hog.cpp