save cookie proof of concept and some minor commenting