Calculating t better