added temperature tokens replacement