changed spot class from its own class to an inherited class from line class.