Removed redundant errors variable