I provide 4 paths, which one is it? Kindly implement better error handling. 