start to improve the code of drawing view