first variation of hook program complete