remove itertools as dependency