changed indexes input