refine the code in ill,traffic api