Revert "my attempt at solving the problem"

This reverts commit 0eb8ff38124829be0fcfe4c0f5972cba2c4e3c44.