working with all four graphs