v7 perform the function of drawing trace