removed tputnull, which is used only once
code management