added ability to zoom & created a legend