Use .get to remove an unnecessary check