about to check for errors