done the FITS coding... now need to test