A bit of ruby to make titles