Learning ruby the hard way :)