reviewed code + introduced full graph with IO