before collection-hooks