added deconv function