Removed HTML output and cleaned up formatting