made HH model inline