boutta work out this graph stuff