added create poly mode