don't make t until you need it -- put inside if-block