Added another helper method in ActivityHelpers.cs