Added report static function to the main.