added line drawing support