fixed imports, removed sqr function