now uses iterate_cb to print line coords and we can visualize