checking for correct errors now