first step of label visualization.