implemented graph feature