final code

1 job for master in 4 minutes and 15 seconds (queued for 2 seconds)