added activity before after