recomment text box functions