partially working

Began changing cases to nlme