updated output template for clustering