implemented block template