setup cookie, levels