switched from polyline to a path; added controls