renamed activity to activities in template