Remade the line drawer