Removed some unnecessary lines.
Formatting and removing uneccessary lines.