code snippets, in fact, inspired from cookies and not necessarily originally-created