Revert "This code was redundant"

This reverts commit 1d46b0c35603f42a5e618cd4009d3508a7e97d60.