added pow
added sqrt