putting the activity together