adding and organizing graphs