Changing to Math::sqrt