More efficient way of dealing with arra, no longer calling pointerToArray function