better traffic functions