initial version of fitting tutorial