Last item from array is a position pos-1