Add drawline mechanism, but cannot solve move trace problems :-(