change default values hash to key syntax