fit returns type