add support for activities
add support for activities