more conversion of hooks