moved graphing logic to separate module