cleaning some polynom functions 2