In tbs.rb, create map representation