graph generation and testing sequence becoming streamlined