finished base, working on threads