change location of hooks