added sqr cube fuctions