added FFTimage code