job and event functionality