use t.x instead of t['x'] in docs