graph stuff added
last fixes