add info params and remove io in js