first version of HOG