transformed activities pg to use history_today