made sin/sn unique. added hold id counter