algorithm activity added