new numbering system for hw; improvements under the hood for text boxes