added master details capabalities