better atmospheric limit code?