first proper version of norma_fit program