setup buttons and more stuff