initial codes, version 2.6 from old repository