start to cleanup polynomial