very basic TTT in Ruby