Rough do_activity procedure.