moved mdel out of parent