Removed unnecessary code that did not do anything beneficial