removed transpose and prealloc