edited demo in template