changed type3 and type2 to allow multiple t_delta