Able to draw a line in sample