assume all keys are hex values