return null object if key is not found