taking sqrt of error now