rename addPath to appendPath
diff for equal lists