composer hook 2