added merge and simple options to polygon