change to vectors for pointer storage