sqrt function added