Rewrote show to use parametric type
All modified to work with parametrised intervals