added temperature to calculate emergence