does type: 'button' actually do anything here?