Removed unnecessary lines and commented.