Ruby version of t3 working