updated req and where use with new conventions