main - change t1,t2 to unsigned long