added path drawing