Revert "rudimentary calculation"

This reverts commit 19d8fc31366b41bae2bce9f03196691f8e59973b.