fixed some pointer reference issues -- all still failing