removed debuggers from fit function since it seems to be working kinda ok now