changed inputs to button except for the ones on the board