Changed to test hook