added support for job queue