working on fits reading