driver uses direct java object in c
usermg counts number of chars