added fitting to workflow