Added sqrt call