add drawLine function
add drawLine function