added structure for cookie