hook up the buttons to the vis