now with polygon creation, as optional