added labels to output stroke