add activity fonctionality