Added draw path procedure