added graphs

*fixed socket misformatting