added block template structure