Added optional text box method