HH0 routine