breaking down errors, test fix