Should update this to take a pointer and remove the comment above