cleaned up mess with mixing bijection generator functions = arr ptrs