it is simpler to call get and check for null than to call contansKey and chck for false and then call get.