modified poppr for total.