diagram for hj