generating heads hiw 1