new lib of cookie