Added buttons + index styling
fixed merge problems
linked the buttons to index