moved hook to where it belongs...