negative indexing seems to work