barebones setup for cookie