adding cookie initalizer support