Revert "code seems to work now"

This reverts commit 232763419c49e5762885255d22932c56e6ef1e71.