making source graphing works