Implementing t2

Let's use the new t2 function instead of an `if-then-else`...