Change the number of activities; this should really be a parameter somewhere...