Add activities functionality