added function headers for many activities.