Formatting in card.rb