graphs working