Added sqrt, must redo