adding job to jobs array