adding  support to cookies