sorted formatting and removed error reporting.