src: added fitting