added buttons and actions