added cookie argument so crawler can use it