changed inputs to tables
graph library