fleshed out the quick fit function more and added some comments to describe what needs to be implemented next