changing hooks