cookie work in progress
clean up