use pointers in URL passing