BetterHelp algorithm