changed label prop to new graphresult style with other refactoring