make sure to pass in all of the cursors instead of just the generator expression for them