Fixed the pointer issue. Should compile now.