added a mask component
 testing fft comparison