still working on getting the logg and teff cut logic to work