updated static template
updated sample