indices reshaffled
wg fix
indexation
input fix