switched from before to after hook
switched from before to after hook