on the way to FITS file generation