change in datatype adapted to client