checked first part: h(X,d)