You can ```2.times do``` instead of copy-pasting the same code 2 times.