able to traverse in a circle, added parameters in a json file