call string version
add constructor that takes a list of cookies