add option for desmearing