elements in p_cur may be unallocated