Use other things instead of array_shift