added FITS writer