Time to learn Ruby a bit I guess