-Removed unnecessary code.