add parameter is a pointer to pointer