party spending over time ifs