adds bug to Line class