working on post hook