first round error checking