after setting up the activities stuff