set to None if key does not exist