Pass job as an anon function