adding next button stuffs