use parents.
fixing a few bugs.