added the  WITH (NOLOCK) clause