pointers instead of ints