Cleaned up the code visually // fixed struct dereferencing issue in job_done() // added more comment blocks