map, reduce, zip and other speedups