added in error logging for fitting failaures?