made example in lookup use TRUE rather than T