added polymode