included charpoly

suggested by Alan