try pointers instead