need to test some hooks