If t1 or t2 is NULL, this will NPE.