implement AddSelfToPath()