Figured out pointer issue in different way.
Removed extraneous variables, cleaned up.