another change to to_dot