drawing line and mtf works