got the hampel code to compile