cleanup -- working code
added nieve forking -- needs to optimize. the borg shall assimilate