Refactor method that returns an embedded value