added classes for line drawing