added support for job by event