added psd computation and save