Refactoring: Grid and Graph updated with newly merged cookie function.