moved graphs into new file