add slowness throttle and use std python library for xml