added rendering for lines