output cumulative and current