Trying to understang paths