Does something semi-intelligent now, but doesn't make too pretty graphs