added buttons for main table