activities functionality done