Changed the string parameter to a pointer pointer so it would actually work.