changes to private variables in Line class