Working on integrating ssqrt, but not working yet