temperature dependence added and working