apodization made optional