perhaps add it as an optional parameter to MemFit
perhaps add it as an optional parameter to MemFit