outlining before hook