changed hierarchy of activities