dictionary lookup works