moved hash to old ruby style