Added Job Assignment Code.