Arrays and index button added