added path tracking