Added listeners to line