bug in translator identified (but not fixed) problem occurs when col = number of  columns and thus temp =1