added fitting sample