Removed unnecessary code

This code didn’t work