Removed unnecessary code

Copied originally from online source but doesn’t seem to be needed