Revert "remove unused statements"

This reverts commit 742e34427228cb4ce5f05259e4bf6fd2e3626984.