Changed to record activity.