sample graphs and bug fixes