Revert "Variable is not used"

This reverts commit d798ef2ac6b40b7f633ee367de969cc8cc93a24e.