extracting label