Two activities one at the beginning, one at the end