thanks for tat...well so rt nw u mean to say tat find the binary eqvt and keep shifting and then concatenate the thing to find final result??if u could post the code here it would be really very helpful of u...