continue working on adding graph routines