line class