Added difficulty cookie memory