begun to sort out next button