cleaned up some code
differentials work with dummy data