removed polya related stuffs
code cleanup