lines are saved and emitted to clients