working on input next button