removed duplicate hook