finished job passing and scheduling code; algorithm may be off