fixup! added square root scalar function