organizing path structure