beautifying job.py