added polygon template type