renamed activity to activities and programmed the connection activity.