make reverse work on all and getByIndex