added server side templates