adding some comments
randomized testing for interval map