added algorithm activity