main activity is done.