trying to sort through errors