wondering how to expect the array_shift