restructuring hogwild
merging