can remove deps; moved single topsort into commented out in topsort