added another helper method for activities
renamed a helper method for SMs