edits to mysqrt