Stop gap fix - can't take len of generator