corrected dic to dec and took out unneeded %print hash