added doActivity