overwrite hooks