now with graphs :))))