add to new template
add cookie
add cookie