Task 3 fixed card.rb