setting up activities for M6