graph and random added and tested