more commit add function completely done fit func done

others done