support for activities hierarchy