turns words into titles