removed ifs to hopefully display all graphs