add pudding obj as a param for all methods in hook