better dictionary lookups