removing some allocs