More use of ptr array helpers