graph creation with set looks good