Added label parsing