add cookie class layout