correction

deques don't have index()