passing pointer-pointer aaaaand it works! :D