Extracting the initialize errors method