added polynomial parse