remove common parent finding method