total line working in popup