add Graph function -- not function