put values in template