no need to iterate over last item