added endotherm model