added collect() to open jobs query