Removed bloated code. Formatted.