add cookie, #3 #4