changes to polynomial module