working on fits