To do with Ruby, refactored using class methods. Day 2 of Ruby OO