added logging the polygon coordinates