add the input and button control