aggregation command works.  now to wrap in a cursor.