update for 1.8 style hash syntax