added label generation functions